package com.chixing.Homework.Order1;
//创建公司订单
public class CompanyOrder implements OrderApi {
    //一些公司订单的属性
    private String companyOrderName;
    private String companyOrderId;
    private int  productNum;

    public String getCompanyOrderName() {
        return companyOrderName;
    }

    public void setCompanyOrderName(String companyOrderName) {
        this.companyOrderName = companyOrderName;
    }

    public String getCompanyOrderId() {
        return this.companyOrderId;
    }

    public void setCompanyOrderId(String companyOrderId) {
        this.companyOrderId = companyOrderId;
    }

    public int getProductNum() {
        return productNum;
    }

    public void setProductNum(int productNum) {
        this.productNum = productNum;
    }

    @Override
    public String toString() {
        return "CompanyOrder{" +
                "公司订单名字='" + companyOrderName + '\'' +
                ", 公司订单编号='" + companyOrderId + '\'' +
                ", 产品数量=" + productNum +
                '}';
    }



    @Override
    public int getProdectNum() {
        return 0;
    }

    @Override
    public void setProdectNum(int num) {

    }
}
